q=input()
c=""
for i in range(0,len(q)):
    c=c+q[i]*2
print(c)